/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 20404
 * Date: 2023-01-04
 * Time: 12:44
 */
public class HelloThinGain {
    public static void main1(String[] args) {
        int a = 10;
        long b = 20L;
        a = (int)b;
    }
    public static void main(String[] args) {
        final int a = 0;
        System.out.println(a);
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
        long b = 10L;
        System.out.println(b);
        System.out.println(Long.MIN_VALUE);
        System.out.println(Long.MAX_VALUE);
        short c = 10;
        System.out.println(c);
        System.out.println(Short.MAX_VALUE);
        System.out.println(Short.MIN_VALUE);
        byte d = 10;
        System.out.println(d);
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
        double e = 12.5;
        System.out.println(e);
        System.out.println(10/55);
        System.out.println(Double.MAX_VALUE);
        System.out.println(Double.MIN_VALUE);
        float f = 12.25f;
        System.out.println(f);
        System.out.println(Float.MAX_VALUE);
        System.out.println(Float.MIN_VALUE);


        char ch = 'A';
        System.out.println(ch);
        char ch1 = '铭';
        System.out.println(ch1);
        System.out.println((char)65);
        System.out.println((int)'a');
        boolean flag = 1 < 2;

        //无规范字节,布尔类型就是false 和 true 而已！
        //跟其他三种类型没有可比性！！！
        System.out.println(flag);


    }
}
